package com.lpwa.system.domain;


import com.lpwa.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 区域和组织关联表 sys_area_dept
 * 
 * @author tanmu
 * @date 2019-08-15
 */
public class AreaDept extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 区域ID */
	private Long areaId;
	/** 部门ID */
	private Long deptId;

	public void setAreaId(Long areaId) 
	{
		this.areaId = areaId;
	}

	public Long getAreaId() 
	{
		return areaId;
	}
	public void setDeptId(Long deptId) 
	{
		this.deptId = deptId;
	}

	public Long getDeptId() 
	{
		return deptId;
	}

    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("areaId", getAreaId())
            .append("deptId", getDeptId())
            .toString();
    }
}
